import request from '@/utils/request';
// 获取采购单列表  /api/admin/platform/purchase-in-warehouse-form/list
export function getPurchaseInWarehouseFormList(data) {
  return request({
    url: '/admin/platform/purchase-in-warehouse-form/list',
    method: 'get',
    params: data
  })
}
// 采购单详情 /api/admin/platform/purchase-in-warehouse-form/info
export function getPurchaseInWarehouseFormInfo(data) {
  return request({
    url: '/admin/platform/purchase-in-warehouse-form/info',
    method: 'get',
    params: data
  })
}
//调拨 分页列表 /api/admin/platform/inventory-transfer/list
export function getInventoryTransferList(data) {
  return request({
    url: '/admin/platform/inventory-transfer/list',
    method: 'get',
    params: data
  })
}

//调拨 分页列表详情 /api/admin/platform/inventory-transfer/info
export function getInventoryTransferInfo(data) {
  return request({
    url: '/admin/platform/inventory-transfer/info',
    method: 'post',
    data: data
  })
}
//调拨出入库列表 、退货出库 /api/admin/platform/in-or-out-warehouse-orders/list
export function getInventoryTransferInOutList(data) {
  return request({
    url: '/admin/platform/in-or-out-warehouse-orders/list',
    method: 'get',
    params: data
  })
}
//调拨出入库详情 /api/admin/platform/in-or-out-warehouse-orders/info
export function getInventoryTransferInOutInfo(data) {
  return request({
    url: '/admin/platform/in-or-out-warehouse-orders/info',
    method: 'post',
    data: data
  })
}